<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="caterpillar" tagdir="/WEB-INF/tags" %>
<%@taglib prefix="spring" 
                 uri="http://www.springframework.org/tags"%>
                 
<caterpillar:header/>
<caterpillar:site_info/>
  <a href='register.do'>还不是会员？</a><p>
  <form method='POST' action='login.do'>
    <spring:bind path="command.*"> 
        <font color="red">
            <b>${status.errorMessage}</b>
        </font><br> 
    </spring:bind>
  <table bgcolor='#cccccc'>
   <tr>
     <td colspan='2'>会员登入</td>
   <tr>
     <td>名称：</td>
     <spring:bind path='command.username'>
     <td><input type='text' name='${status.expression}' 
                value='${status.value}'></td></tr>
     </spring:bind>
   <tr>
     <td>密码：</td>
     <spring:bind path='command.passwd'>
     <td><input type='password' 
                name='${status.expression}'></td></tr>
     </spring:bind>
   <tr>
     <td colspan='2' align='center'>
     <input type='submit' value='登入'></td></tr>
   <tr>
     <td colspan='2'><a href='forgot.do'>忘记密码？</a></td>
   </tr>
 </table></form>
<caterpillar:footer/>
